/* 打包时间：2025-11-29 21:10:27 */
(function(){
  try{
    var bridge = null;
    try{ bridge = runtime && runtime.accessibilityBridge; }catch(e){}
    if(!bridge){
      try{
        var m = runtime.getClass().getDeclaredMethod("getAccessibilityBridge");
        m.setAccessible(true);
        bridge = m.invoke(runtime);
      }catch(e){}
    }
    if(!bridge){ return; }
    try{
      var WF = Packages.com.stardust.autojs.core.accessibility.AccessibilityBridge$WindowFilter;
      bridge.setWindowFilter(new JavaAdapter(WF,{ filter:function(info){ return true; } }));
    }catch(e){}
  }catch(e){}
})();
module['exports'] = function (_0x289b56) {
    var _0x1a3b65 = {};
    function _0x5a48c9(_0x3380f1) {
        if (_0x1a3b65[_0x3380f1])
            return _0x1a3b65[_0x3380f1]['exports'];
        var _0x174013 = _0x1a3b65[_0x3380f1] = {
            'i': _0x3380f1,
            'l': ![],
            'exports': {}
        };
        return _0x289b56[_0x3380f1]['call'](_0x174013['exports'], _0x174013, _0x174013['exports'], _0x5a48c9), _0x174013['l'] = !![], _0x174013['exports'];
    }
    return _0x5a48c9['m'] = _0x289b56, _0x5a48c9['c'] = _0x1a3b65, _0x5a48c9['d'] = function (_0x176fc3, _0xf7d32a, _0x87c975) {
        !_0x5a48c9['o'](_0x176fc3, _0xf7d32a) && Object['defineProperty'](_0x176fc3, _0xf7d32a, {
            'enumerable': !![],
            'get': _0x87c975
        });
    }, _0x5a48c9['r'] = function (_0x34355d) {
        typeof Symbol !== 'undefined' && Symbol['toStringTag'] && Object['defineProperty'](_0x34355d, Symbol['toStringTag'], { 'value': 'Module' }), Object['defineProperty'](_0x34355d, '__esModule', { 'value': !![] });
    }, _0x5a48c9['t'] = function (_0x5626af, _0x2cc7c1) {
        if (_0x2cc7c1 & 0x1)
            _0x5626af = _0x5a48c9(_0x5626af);
        if (_0x2cc7c1 & 0x8)
            return _0x5626af;
        if (_0x2cc7c1 & 0x4 && typeof _0x5626af === 'object' && _0x5626af && _0x5626af['__esModule'])
            return _0x5626af;
        var _0xd8f642 = Object['create'](null);
        _0x5a48c9['r'](_0xd8f642), Object['defineProperty'](_0xd8f642, 'default', {
            'enumerable': !![],
            'value': _0x5626af
        });
        if (_0x2cc7c1 & 0x2 && typeof _0x5626af != 'string') {
            for (var _0x4dde46 in _0x5626af)
                _0x5a48c9['d'](_0xd8f642, _0x4dde46, function (_0x5c7891) {
                    return _0x5626af[_0x5c7891];
                }['bind'](null, _0x4dde46));
        }
        return _0xd8f642;
    }, _0x5a48c9['n'] = function (_0x15928e) {
        var _0x5d8f63 = _0x15928e && _0x15928e['__esModule'] ? function _0x3a0cc1() {
            return _0x15928e['default'];
        } : function _0x2dff35() {
            return _0x15928e;
        };
        return _0x5a48c9['d'](_0x5d8f63, 'a', _0x5d8f63), _0x5d8f63;
    }, _0x5a48c9['o'] = function (_0x3fa641, _0x2f7fca) {
        return Object['prototype']['hasOwnProperty']['call'](_0x3fa641, _0x2f7fca);
    }, _0x5a48c9['p'] = '', _0x5a48c9(_0x5a48c9['s'] = 0x1e);
}({
    0x1e: function (_0x1d0a2c, _0x18135c) {
        var _0x2da096 = {};
        _0x1d0a2c['exports'] = _0x2da096, _0x2da096['getPermission'] = function (_0x10107a) {
            let _0x302b4f = ![];
            if (!_0x10107a)
                return toastLog('未传入软件包名'), _0x302b4f;
            try {
                importClass(android['content']['Context']), importClass(android['provider']['Settings']);
                var _0x1c3266 = Settings['Secure']['getString'](context['getContentResolver'](), Settings['Secure']['ENABLED_ACCESSIBILITY_SERVICES']);
                console['log']('[adb|L13]', '当前已启用的辅助服务:\x0a', _0x1c3266);
                var _0x4c72d5 = _0x1c3266 + ':' + _0x10107a + '/com.stardust.autojs.core.accessibility.AccessibilityService';
                Settings['Secure']['putString'](context['getContentResolver'](), Settings['Secure']['ENABLED_ACCESSIBILITY_SERVICES'], _0x4c72d5), Settings['Secure']['putString'](context['getContentResolver'](), Settings['Secure']['ACCESSIBILITY_ENABLED'], '0'), sleep(0x3e8), Settings['Secure']['putString'](context['getContentResolver'](), Settings['Secure']['ACCESSIBILITY_ENABLED'], '1'), sleep(0x3e8), toastLog('成功开启无障碍辅助服务'), _0x302b4f = !![];
            } catch (_0x12eb8c) {
                console['log']('[adb|L27]', '出错原因:' + String(_0x12eb8c)), toastLog('请配合权限授权工具,\x0a连接手机,进行永久授权~');
            }
            return _0x302b4f;
        };
    }
});